/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.compomics.dataprovider.view.suite.panels.importing;

/**
 *
 * @author Kenneth
 */
public class FastaFileOptions extends javax.swing.JPanel {

    /**
     * Creates new form FileOptions
     */
    public FastaFileOptions() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        cbAddcRAP = new javax.swing.JCheckBox();
        cbAddDecoy = new javax.swing.JCheckBox();
        cbClean = new javax.swing.JCheckBox();

        setBackground(new java.awt.Color(255, 255, 255));
        setBorder(javax.swing.BorderFactory.createTitledBorder("Actions"));

        cbAddcRAP.setBackground(new java.awt.Color(255, 255, 255));
        cbAddcRAP.setText("add cRAP");

        cbAddDecoy.setBackground(new java.awt.Color(255, 255, 255));
        cbAddDecoy.setText("add decoy");

        cbClean.setBackground(new java.awt.Color(255, 255, 255));
        cbClean.setText("clean");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(cbAddcRAP)
            .addComponent(cbAddDecoy)
            .addComponent(cbClean)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(cbAddcRAP)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(cbAddDecoy)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(cbClean))
        );
    }// </editor-fold>//GEN-END:initComponents

    public boolean isCrapEnabled() {
        return cbAddcRAP.isSelected();
    }

    public boolean isDecoysEnabled() {
        return cbAddDecoy.isSelected();
    }

    public boolean isCleanupEnabled() {
        return cbClean.isSelected();
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JCheckBox cbAddDecoy;
    private javax.swing.JCheckBox cbAddcRAP;
    private javax.swing.JCheckBox cbClean;
    // End of variables declaration//GEN-END:variables
}
